package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50);comment:用户名"`
	Password string `gorm:"type:varchar(50);comment:密码"`
}
type Goods struct {
	gorm.Model
	GoodName  string `gorm:"type:varchar(50);comment:姓名"`
	GoodDesc  string `gorm:"type:varchar(50);comment:描述"`
	GoodPrice int    `gorm:"type:int;comment:价格"`
}
